if (do_name() != 'Home') : ?>
Reference | curveto()
endif ?>
Syntax | curveto(h1x, h1y, h2x, h2y, x, y)
|
Description | The curveto() command must be called between beginpath() and endpath(). Draws a curve between the current point in the path and a new destination point. The last two parameters, x and y, set the location of the new destination point. The first and second, and the third and fourth parameters set the location of the two control points of the curve. These control points, or handles, define the edge and slant of the curve. |
Tutorial | Paths
|
|
Example | | nofill()
stroke(0.2)
beginpath(0, 0)
curveto(100, 100, 50, 0, 100, 100)
endpath() |
|
include("util/comment.php"); ?>